//
//  StructFile.h
//  高仿暴走斗图
//
//  Created by key on 16/6/12.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#ifndef StructFile_h
#define StructFile_h


/**
 *  用于定义结构体，说明注释如下
 */

/**
 *      
        //生成结构体
        CGRect rect = (CGRect){0, 0, 0, 0};
        CGPoint point = (CGPoint){0, 0};
        CGSize size = (CGSize){0, 0};
        CGFloat time = 0.5f;
        AnimationStruct st = {
 
            rect,
            point,
            size,
            time,
 
        };
        NSValue *value = [NSValue valueWithBytes:&st objCType:@encode(AnimationStruct)];

        //获取结构体
        AnimationStruct ts;
        NSValue *value2 = "数据源";
        [value2 getValue:&ts];
 */

struct HSYBaseAnimationStruct {
    
    CGRect rect;
    CGPoint point;
    CGSize size;
    CGFloat time;
};
typedef struct HSYBaseAnimationStruct AnimationStruct;

#endif /* StructFile_h */
